package com.weiqiao.api.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;

/**
 * @author PEI
 * @Description
 * @Date 2020/7/27 17:03
 */
@Data
public class CommodityApiVO {

    @ApiModelProperty("公司id")
    @Min(value = 1, message = "公司id不能为空")
    private Integer company_id;

    @ApiModelProperty("标签")
    private String label_brand_id;

    @ApiModelProperty("商品id")
    private String commodity_id;

    /**
     * 不填则查询所有，填了根据0不是，1是进行查询
     */
    @ApiModelProperty("是否是积分商品")
    private Integer is_score_commodity;

    @ApiModelProperty("页码")
    private int page;

    @ApiModelProperty("每页个数")
    private int size = 10;

}
